package com.sumainfor.pc.market.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.market.feign.BaseFeignGmio;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * 功能描述:
 *
 * @Auther: zhlu
 * @Date: 2019/1/17 17:04
 * @Description:
 */
@RestController
@RequestMapping("/HouOwcontact")
public class HouOwcontactController {
    @Autowired
    BaseFeignGmio BaseFeignGmio;

    /**
     * 功能描述:
     * 根据房源编号查询业主联系人变更列表
     * @Author zhlu
     * @Description //TODO
     * @Date 2019/1/17 17:08
     */
    @ResponseBody
    @GetMapping("/getHouOwcontactList")
    public JsonResult getHouOwcontactList(@RequestParam Map<String,Object>params,Pager pager){
        JsonResult result=new JsonResult();
        result=BaseFeignGmio.getHouOwcontactList(params,pager);
        return result;
    }
}
